i = 0
numbers = []

while i < 6
  puts "At the top is #{i}"
  numbers.push(i)
  
  i += 1
  puts "Numbers now: #{numbers}"
  puts "At the botton i is #{i}"
end

puts "The numbers:"

for num in numbers
  puts num
end

# while 循环必须到最后为false，不然会一直循环下去，while  true ，puts "something", end,   如果一直为真，那么就一直puts "something", 就像取款机的意思一样，为100的整数时才出钞

  
